-
Home
-
Matomo Analytics – Ethical Stats. Powerful Insights.
-
4.13.5
-
Code
-
Classes
- Nonce
Total Complexity |
28 |
Dependencies |
7 |
Dependents |
11 |
Total lines |
216 |
Lines of code |
108 |
Logical lines of code |
53 |
Comment lines |
74 |
Methods |
8 |
Properties |
0 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
verifyNonceWithErrorMessage() |
A |
46 |
12 |
37 |
getAcceptableOrigins() |
S |
50 |
5 |
31 |
checkNonce() |
S |
64 |
3 |
9 |
getNonce() |
S |
63 |
2 |
10 |
isReferrerHostValid() |
S |
67 |
2 |
7 |
getOrigin() |
S |
71 |
2 |
6 |
verifyNonce() |
S |
74 |
1 |
4 |
discardNonce() |
S |
76 |
1 |
4 |